package game

import "time"

type BsSignUp struct {
	UserId     uint      `gorm:"column:user_id" json:"user_id"`
	GameinfoId uint      `gorm:"column:game_info_id;comment:赛事编号" json:"gameInfoId" form:"gameInfoId"`
	ProjectId  uint      `gorm:"column:project_id;comment:项目编号" json:"projectId" form:"projectId"`
	Score      float64   `gorm:"column:score;comment:分数" json:"score" form:"score"`
	Status     int       `gorm:"column:status;comment:状态(1-已报名，2-正常录入，3-个人赛前取消，4-裁判取消)" json:"status" form:"status"`
	Remark     string    `gorm:"column:remark;comment:备注" json:"remark" form:"remark"`
	CreateTime time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;comment:创建时间"`
	UpdateTime time.Time `json:"updateTime" form:"updateTime" gorm:"column:update_time;comment:更新时间"`
}

type BsSignUpStat struct {
	UserId  uint   `gorm:"column:user_id" json:"userId"`
	Number  uint   `gorm:"column:number" json:"number"`
	Country string `gorm:"column:country" json:"country"`
}
